<?php

use app\admin\model\Config;
use app\admin\service\ConfigServiceImpl;
use PHPUnit\Framework\TestCase;
use think\App;


use function PHPUnit\Framework\assertTrue;

class ConfigTest extends TestCase
{
    public static function setUpBeforeClass(): void
    {
        $http = (new App())->http;

        $response = $http->run();
    }
    function tearDown(): void
    {
        assertTrue(true);
    }
    public function testAaa()
    {
        // $res = Config::column("*", "key");
        // dump($res);
        $str = (string)"aaaa";
        var_dump($str);
    }
    public function testBaa()
    {
        $service = new ConfigServiceImpl();
        $res = $service->buildCacheData();
        dump($res);
    }
}
